package com.yungu.swift.order.dao;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.order.model.dto.OrderRechargeDto;
import com.yungu.swift.order.model.param.AdminRechargeBillPageParam;
import com.yungu.swift.order.model.vo.AdminRechargeBillVo;

import java.util.List;
import java.util.Map;

/**
 * @author cuixiuyin
 * @date 2018-12-12
 */
public interface OrderRechargeMapper extends IMapper<OrderRechargeDto> {

    /**
     * 充值账单列表查询
     *
     * @param billPageParam
     * @param pageBounds
     * @return
     */
    PageList<AdminRechargeBillVo> rechargeBillPage(AdminRechargeBillPageParam billPageParam, PageBounds pageBounds);

    /**
     * 充值账单列表EXCEL导出--注意与分页方法保持同名
     *
     * @param billPageParam 参数集合
     * @return List
     * @author Zerrion
     * @date 2018/10/23
     */
    List<AdminRechargeBillVo> rechargeBillPage(AdminRechargeBillPageParam billPageParam);

    /**
     * 充值账单统计
     *
     * @param map
     * @return
     */
    Map<String, Object> rechargeBillCount(Map<String, Object> map);

}